package cn.zspt.fingerJoy.util;

public enum MsgEnum {
    OPER_SUCCESS("操作成功",200),
    QUERY_SUCCESS("查询成功",200),
    NOT_AUTH("未授权",401),
    LOGIN_FAIL("登录失败",401);


    private String msg;
    private int code;
    MsgEnum(String msg,int code){
        this.msg=msg;
        this.code=code;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode(){
        return code;
    }
}
